@f{cursor_value}ΒΆ
Displays the x- or y-value of a 2D dataset at the cursor position.
-
@f{cursor_value(dataset_name)}
-
@f{cursor_value(dataset_name, iCursor)}
-
@f{cursor_value(dataset_name, iCursor, format)}
-
@f{cursor_value(dataset_name, iCursor, format, x_or_y)}
Parameters
-
dataset_name
dataset_name is the dataset name.
-
iCursor
iCursor is 1 for the first cursor and 2 for the second cursor. Default value is 1.
-
format
format specifies the output format. see printf.
-
x_or_y
x_or_y is x for the x-value or y for the y value.
Comment
The field function can be added to a table cell or a text object.
The result value will be updates when the cursor is moved. If the cursor is not displayed the value will not be modified.
Example
@f{cursor_value(Data1, 1, %.3lf)}{9.000}
id-728090